Tag: binary search
-
BinarySearch 0021 Subsequence Strings (09 Apr 2022)
-
BinarySearch 0033 Find the Largest Number in a Rotated List (09 Apr 2022)
-
BinarySearch 0034 Insertion Index in Sorted List (09 Apr 2022)
-
BinarySearch 0050 Longest Increasing Subsequence (09 Apr 2022)
-
BinarySearch 0126 Detect the Only Duplicate in a List (09 Apr 2022)
-
BinarySearch 0159 Matrix Search (09 Apr 2022)
-
BinarySearch 0165 Matrix Search Sequel (09 Apr 2022)
-
BinarySearch 0184 Median of Two Sorted Lists (09 Apr 2022)
-
BinarySearch 0191 Make Lists Same with Sublist Sum Operations (09 Apr 2022)
-
BinarySearch 0193 Longest Common Substring (09 Apr 2022)
-
BinarySearch 0265 Minimum Difference (09 Apr 2022)
-
BinarySearch 0314 Symmetric Blocks (09 Apr 2022)
-
BinarySearch 0372 Boxes All the Way Down (09 Apr 2022)
-
BinarySearch 0379 K Largest Pairs (09 Apr 2022)
-
BinarySearch 0410 Guess the Root (09 Apr 2022)
-
BinarySearch 0442 Interval Carving (09 Apr 2022)
-
BinarySearch 0467 Longest Bitonic Subsequence (09 Apr 2022)
-
BinarySearch 0469 K Compare (09 Apr 2022)
-
BinarySearch 0479 Leetcode 1011. Capacity To Ship Packages Within D Days (09 Apr 2022)
-
BinarySearch 0486 Job Scheduling to Maximize Profit (09 Apr 2022)
-
BinarySearch 0488 Circular Longest Increasing Subsequence (09 Apr 2022)
-
BinarySearch 0494 Divisible Numbers (09 Apr 2022)
-
BinarySearch 0500 Optimal Decrement (09 Apr 2022)
-
BinarySearch 0529 Binary Matrix Leftmost One (09 Apr 2022)
-
BinarySearch 0538 Bus Stop (09 Apr 2022)
-
BinarySearch 0546 Coincidence Search (09 Apr 2022)
-
BinarySearch 0550 Unique Integers in Sorted List (09 Apr 2022)
-
BinarySearch 0553 Take All (09 Apr 2022)
-
BinarySearch 0588 Kth Missing Number (09 Apr 2022)
-
BinarySearch 0591 Maximum of the Smallest Chunk (09 Apr 2022)
-
BinarySearch 0595 Subsequence Match Target (09 Apr 2022)
-
BinarySearch 0603 Two Non-Overlapping Lists With Target Sums (09 Apr 2022)
-
BinarySearch 0640 Package Matching (09 Apr 2022)
-
BinarySearch 0647 Largest Average of Sublist with Length at Least K (09 Apr 2022)
-
BinarySearch 0655 Minimum Size of Two Non-Overlapping Intervals (09 Apr 2022)
-
BinarySearch 0671 Subsequence Concatenation to Target (09 Apr 2022)
-
BinarySearch 0682 Profitable Job Matching (09 Apr 2022)
-
BinarySearch 0689 Maximize the Minimum Value After K Sublist Increments (09 Apr 2022)
-
BinarySearch 0696 Longest Equivalent Sublist After K Increments (09 Apr 2022)
-
BinarySearch 0699 Sum of Four Numbers Less Than Target (09 Apr 2022)
-
BinarySearch 0705 Pair Matches Larger Than Target (09 Apr 2022)
-
BinarySearch 0750 Check if Number Is Perfect Square (09 Apr 2022)
-
BinarySearch 0755 Historical Map (09 Apr 2022)
-
BinarySearch 0757 Triple Inversion (09 Apr 2022)
-
BinarySearch 0758 Fixed Point (09 Apr 2022)
-
BinarySearch 0769 Randomized Binary Search (09 Apr 2022)
-
BinarySearch 0770 K-Distinct Groups (09 Apr 2022)
-
BinarySearch 0791 Minimum Light Radius (09 Apr 2022)
-
BinarySearch 0792 Lazy Run-Length Decoding (09 Apr 2022)
-
BinarySearch 0796 Shortest Sublist to Remove to Make Sorted List (09 Apr 2022)
-
BinarySearch 0808 Split List to Minimize Largest Sum (09 Apr 2022)
-
BinarySearch 0817 Kth Pair Distance (09 Apr 2022)
-
BinarySearch 0824 Sublist with Largest Min-Length Product (09 Apr 2022)
-
BinarySearch 0839 Minimum Removals to Make Mountain List (09 Apr 2022)
-
BinarySearch 0856 Eat Bananas in K Hours (09 Apr 2022)
-
BinarySearch 0867 Count Nodes in Complete Binary Tree (09 Apr 2022)
-
BinarySearch 0878 Largest Kth Value of List (09 Apr 2022)
-
BinarySearch 0880 Minimize Absolute Difference of Three Numbers (09 Apr 2022)
-
BinarySearch 0885 Update List Sum Closest to Target (09 Apr 2022)
-
BinarySearch 0886 Square Submatrix Sum Below Target (09 Apr 2022)
-
BinarySearch 0888 Update List to Make It Strictly Increasing (09 Apr 2022)
-
BinarySearch 0895 Complete an Arithmetic Sequence (09 Apr 2022)
-
BinarySearch 0919 Sum of Sublist Range Sum (09 Apr 2022)
-
BinarySearch 0927 Word Distance Queries (09 Apr 2022)
-
BinarySearch 0936 Number of Concatenations to Create Subsequence (09 Apr 2022)
-
BinarySearch 0947 Snapshottable List (09 Apr 2022)
-
BinarySearch 0950 Trail to Minimize Effort (09 Apr 2022)
-
BinarySearch 0961 Kth User to Visit Website (09 Apr 2022)
-
BinarySearch 0966 Kth Largest Pair Product (09 Apr 2022)
-
BinarySearch 0973 Cut Ribbons of Same Length (09 Apr 2022)
-
BinarySearch 0979 Bounded Square Sums (09 Apr 2022)
-
BinarySearch 0980 Point Distances with Shared Coordinate (09 Apr 2022)
-
BinarySearch 0987 Number of Non-Overlapping Sublists With Sum of Target (09 Apr 2022)
-
BinarySearch 1011 Connected Road to Destination (09 Apr 2022)
-
BinarySearch 1015 Minimize Maximum Stadium Size (09 Apr 2022)
-
BinarySearch 1029 Log Truncation (09 Apr 2022)
-
Leetcode 0004 Median of Two Sorted Arrays (09 Apr 2022)
-
Leetcode 0033. Search in Rotated Sorted Array (09 Apr 2022)
-
Leetcode 0034. Find First and Last Position of Element in Sorted Array (09 Apr 2022)
-
Leetcode 0035. Search Insert Position (09 Apr 2022)
-
Leetcode 0069 Sqrt(x) (09 Apr 2022)
-
Leetcode 0074. Search a 2D Matrix (09 Apr 2022)
-
Leetcode 0081. Search in Rotated Sorted Array II (09 Apr 2022)
-
Leetcode 0153. Find Minimum in Rotated Sorted Array (09 Apr 2022)
-
Leetcode 0154. Find Minimum in Rotated Sorted Array II (09 Apr 2022)
-
Leetcode 0162. Find Peak Element (09 Apr 2022)
-
Leetcode 0174. Dungeon Game (09 Apr 2022)
-
Leetcode 0209 Minimum Size Subarray Sum (09 Apr 2022)
-
Leetcode 0222. Count Complete Tree Nodes (09 Apr 2022)
-
Leetcode 0240. Search a 2D Matrix II (09 Apr 2022)
-
Leetcode 0244 Shortest Word Distance II (09 Apr 2022)
-
Leetcode 0275. H-Index II (09 Apr 2022)
-
Leetcode 0278 First Bad Version (09 Apr 2022)
-
Leetcode 0287. Find the Duplicate Number (09 Apr 2022)
-
Leetcode 0302 Smallest Rectangle Enclosing Black Pixels (09 Apr 2022)
-
Leetcode 0350 Intersection of Two Arrays II (09 Apr 2022)
-
Leetcode 0354. Russian Doll Envelopes (09 Apr 2022)
-
Leetcode 0367 Valid Perfect Square (09 Apr 2022)
-
Leetcode 0374 Guess Number Higher or Lower (09 Apr 2022)
-
Leetcode 0378. Kth Smallest Element in a Sorted Matrix (09 Apr 2022)
-
Leetcode 0392. Is Subsequence (09 Apr 2022)
-
Leetcode 0400 Nth Digit (09 Apr 2022)
-
Leetcode 0410. Split Array Largest Sum (09 Apr 2022)
-
Leetcode 0436. Find Right Interval (09 Apr 2022)
-
Leetcode 0441. Arranging Coins (09 Apr 2022)
-
Leetcode 0475 Heaters (09 Apr 2022)
-
Leetcode 0483. Smallest Good Base (09 Apr 2022)
-
Leetcode 0493 Reverse Pairs (09 Apr 2022)
-
Leetcode 0497. Random Point in Non-overlapping Rectangles (09 Apr 2022)
-
Leetcode 0528. Random Pick with Weight (09 Apr 2022)
-
Leetcode 0540 Single Element in a Sorted Array (09 Apr 2022)
-
Leetcode 0633. Sum of Square Numbers (09 Apr 2022)
-
Leetcode 0644 Maximum Average Subarray II (09 Apr 2022)
-
Leetcode 0658. Find K Closest Elements (09 Apr 2022)
-
Leetcode 0668 Kth Smallest Number in Multiplication Table (09 Apr 2022)
-
Leetcode 0673. Number of Longest Increasing Subsequence (09 Apr 2022)
-
Leetcode 0683 K Empty Slots (09 Apr 2022)
-
Leetcode 0702 Search in a Sorted Array of Unknown Size (09 Apr 2022)
-
Leetcode 0704. Binary Search (09 Apr 2022)
-
Leetcode 0710 Random Pick with Blacklist (09 Apr 2022)
-
Leetcode 0718. Maximum Length of Repeated Subarray (09 Apr 2022)
-
Leetcode 0719 Find K-th Smallest Pair Distance (09 Apr 2022)
-
Leetcode 0744 Find Smallest Letter Greater Than Target (09 Apr 2022)
-
Leetcode 0774 Minimize Max Distance to Gas Station (09 Apr 2022)
-
Leetcode 0778. Swim in Rising Water (09 Apr 2022)
-
Leetcode 0786 K-th Smallest Prime Fraction (09 Apr 2022)
-
Leetcode 0792. Number of Matching Subsequences (09 Apr 2022)
-
Leetcode 0793 Preimage Size of Factorial Zeroes Function (09 Apr 2022)
-
Leetcode 0826 Most Profit Assigning Work (09 Apr 2022)
-
Leetcode 0852 Peak Index in a Mountain Array (09 Apr 2022)
-
Leetcode 0875 Koko Eating Bananas (09 Apr 2022)
-
Leetcode 0878 Nth Magical Number (09 Apr 2022)
-
Leetcode 0887 Super Egg Drop (09 Apr 2022)
-
Leetcode 0911 Online Election (09 Apr 2022)
-
Leetcode 0981. Time Based Key-Value Store (09 Apr 2022)
-
Leetcode 1011. Capacity To Ship Packages Within D Days (09 Apr 2022)
-
Leetcode 1055 Shortest Way to Form String (09 Apr 2022)
-
Leetcode 1060 Missing Element in Sorted Array (09 Apr 2022)
-
Leetcode 1064 Fixed Point (09 Apr 2022)
-
Leetcode 1095. Find in Mountain Array (09 Apr 2022)
-
Leetcode 1102 Path With Maximum Minimum Value (09 Apr 2022)
-
Leetcode 1146 Snapshot Array (09 Apr 2022)
-
Leetcode 1150 Check If a Number Is Majority Element in a Sorted Array (09 Apr 2022)
-
Leetcode 1157. Online Majority Element In Subarray (09 Apr 2022)
-
Leetcode 1170. Compare Strings by Frequency of the Smallest Character (09 Apr 2022)
-
Leetcode 1187. Make Array Strictly Increasing (09 Apr 2022)
-
Leetcode 1201 Ugly Number III (09 Apr 2022)
-
Leetcode 1208. Get Equal Substrings Within Budget (09 Apr 2022)
-
Leetcode 1228 Missing Number In Arithmetic Progression (09 Apr 2022)
-
Leetcode 1231 Divide Chocolate (09 Apr 2022)
-
Leetcode 1235 Maximum Profit in Job Scheduling (09 Apr 2022)
-
Leetcode 1272 Remove Interval (09 Apr 2022)
-
Leetcode 1274 Number of Ships in a Rectangle (09 Apr 2022)
-
Leetcode 1283. Find the Smallest Divisor Given a Threshold (09 Apr 2022)
-
Leetcode 1292. Maximum Side Length of a Square with Sum Less than or Equal to Threshold (09 Apr 2022)
-
Leetcode 1300. Sum of Mutated Array Closest to Target (09 Apr 2022)
-
Leetcode 1337. The K Weakest Rows in a Matrix (09 Apr 2022)
-
Leetcode 1508. Range Sum of Sorted Subarray Sums (09 Apr 2022)
-
Leetcode 1533 Find the Index of the Large Integer (09 Apr 2022)
-
Leetcode 1539. Kth Missing Positive Number (09 Apr 2022)
-
Leetcode 1574. Shortest Subarray to be Removed to Make Array Sorted (09 Apr 2022)
-
Leetcode 1610. Maximum Number of Visible Points (09 Apr 2022)
-
Leetcode 1618 Maximum Font to Fit a Sentence in a Screen (09 Apr 2022)
-
Leetcode 1631. Path With Minimum Effort (09 Apr 2022)
-
Leetcode 1642. Furthest Building You Can Reach (09 Apr 2022)
-
Leetcode 1648 Sell Diminishing-Valued Colored Balls (09 Apr 2022)
-
Leetcode 1671. Minimum Number of Removals to Make Mountain Array (09 Apr 2022)
-
Leetcode 1712 Ways to Split Array Into Three Subarrays (09 Apr 2022)
-
Leetcode 1713 Minimum Operations to Make a Subsequence (09 Apr 2022)
-
Leetcode 1723. Find Minimum Time to Finish All Jobs (09 Apr 2022)
-
Leetcode 1739 Building Boxes (09 Apr 2022)
-
Leetcode 1751 Maximum Number of Events That Can Be Attended II (09 Apr 2022)
-
Leetcode 1793. Maximum Score of a Good Subarray (09 Apr 2022)
-
Leetcode 1802 Maximum Value at a Given Index in a Bounded Array (09 Apr 2022)
-
Leetcode 1885 Count Pairs in Two Arrays (09 Apr 2022)
-
Leetcode 1889 Minimum Space Wasted From Packaging (09 Apr 2022)
-
Leetcode 1891 Cutting Ribbons (09 Apr 2022)
-
Leetcode 1918 Kth Smallest Subarray Sum (09 Apr 2022)
-
Leetcode 1923. Longest Common Subpath (09 Apr 2022)
-
Leetcode 1966 Binary Searchable Numbers in an Unsorted Array (09 Apr 2022)
-
Leetcode 1970. Last Day Where You Can Still Cross (09 Apr 2022)
-
Leetcode 2008. Maximum Earnings From Taxi (09 Apr 2022)
-
Leetcode 2009. Minimum Number of Operations to Make Array Continuous (09 Apr 2022)
-
Leetcode 2035 Partition Array Into Two Arrays to Minimize Sum Difference (09 Apr 2022)
-
Leetcode 2040. Kth Smallest Product of Two Sorted Arrays (09 Apr 2022)
-
Leetcode 2064. Minimized Maximum of Products Distributed to Any Store (09 Apr 2022)
-
Leetcode 2071. Maximum Number of Tasks You Can Assign (09 Apr 2022)